package com.peanut.model;

import java.util.Set;

public class Role implements java.io.Serializable {
	private static final long serialVersionUID = 1688587939591520958L;

	// Fields

	private Integer id;
	private String name;
	private Integer enabled;
	private String description;

	private Set<Resource> resources;

	// Constructors
	/** default constructor */
	public Role() {
	}

	// Property accessors
	public Integer getId() {
		return this.id;
	}
	

	public String getName() {
		return this.name;
	}

	public String getDescription() {
		return description;
	}
	
	public Integer getEnabled() {
		return this.enabled;
	}
	
	public Set<Resource> getResources() {
		return resources;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setEnabled(Integer enabled) {
		this.enabled = enabled;
	}

	public void setId(Integer roleId) {
		this.id = roleId;
	}

	public void setResources(Set<Resource> resources) {
		this.resources = resources;
	}

	public void setName(String roleName) {
		this.name = roleName;
	}

}